using System;
using System.ComponentModel.Composition;

namespace CloudStorage.API
{
	///<summary>
	/// <see cref="IStorageAccountInfoMetadata"/>
	///</summary>
	[MetadataAttribute,
	 AttributeUsage(AttributeTargets.Class)]
	public class StorageAccountInfoMetadataAttribute : ExportAttribute, IStorageAccountInfoMetadata
	{
		/// <summary>
		/// Ctor
		/// </summary>
		public StorageAccountInfoMetadataAttribute(string Name)
			: base(typeof(IStorageAccountInfo))
		{
			this.Name = Name;
		}

		/// <summary>
		/// Name of this set of information
		/// </summary>
		public string Name { get; private set; }
	}
}